package com.zzx.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzx.common.core.page.TableDataInfo;
import com.zzx.business.domain.BusinessProduct;
import com.zzx.business.vo.BusinessProductVo;

import java.util.List;

/**
 * 货物信息Service接口
 *
 * @author Z、zx
 * @date 2024-08-21
 */
public interface IBusinessProductService extends IService<BusinessProduct> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<BusinessProductVo> queryList(BusinessProductVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<BusinessProductVo> queryAll(BusinessProductVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    BusinessProductVo queryById(Long id);
}
